The ControlCaption
class represents the caption settings for form controls, including text, position, size, font, visibility, and alignment.
Properties
Name | Description |
---|
HorizontalAlign | The horizontal alignment of the control caption. |
Position | The position of the control caption relative to the control. |
Visible | Indicates whether the control caption is visible. |
Size | The size of the control caption. |
MarkSettings | The settings for marking the control caption. |
Ellipsis | Indicates whether the control caption should display ellipsis when text overflows. |
VerticalAlign | The vertical alignment of the control caption. |
Text | The multi-language text of the control caption. |
ShowColon | Indicates whether a colon should be shown after the control caption. |
Font | The font settings of the control caption. |
Constructors
Name | Description |
---|
ControlCaption() | Initializes a new instance of the ControlCaption class with default values. |
Methods
Name | Description |
---|
GetDifferences(otherObj) | Compares the current instance with another control caption and returns the differences. |